Optimal. Leaf size=79 \[ \frac{\sin (c+d x) \cos (c+d x) \, _2F_1\left (\frac{1}{2},\frac{1}{2} (n p+1);\frac{1}{2} (n p+3);\sin ^2(c+d x)\right ) \left (a (b \sin (c+d x))^p\right )^n}{d (n p+1) \sqrt{\cos ^2(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0370264, antiderivative size = 79, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3208, 2643} \[ \frac{\sin (c+d x) \cos (c+d x) \, _2F_1\left (\frac{1}{2},\frac{1}{2} (n p+1);\frac{1}{2} (n p+3);\sin ^2(c+d x)\right ) \left (a (b \sin (c+d x))^p\right )^n}{d (n p+1) \sqrt{\cos ^2(c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3208
Rule 2643
Rubi steps
\begin{align*} \int \left (a (b \sin (c+d x))^p\right )^n \, dx &=\left ((b \sin (c+d x))^{-n p} \left (a (b \sin (c+d x))^p\right )^n\right ) \int (b \sin (c+d x))^{n p} \, dx\\ &=\frac{\cos (c+d x) \, _2F_1\left (\frac{1}{2},\frac{1}{2} (1+n p);\frac{1}{2} (3+n p);\sin ^2(c+d x)\right ) \sin (c+d x) \left (a (b \sin (c+d x))^p\right )^n}{d (1+n p) \sqrt{\cos ^2(c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.0574693, size = 73, normalized size = 0.92 \[ \frac{\sqrt{\cos ^2(c+d x)} \tan (c+d x) \, _2F_1\left (\frac{1}{2},\frac{1}{2} (n p+1);\frac{1}{2} (n p+3);\sin ^2(c+d x)\right ) \left (a (b \sin (c+d x))^p\right )^n}{d (n p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.333, size = 0, normalized size = 0. \begin{align*} \int \left ( a \left ( b\sin \left ( dx+c \right ) \right ) ^{p} \right ) ^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (\left (b \sin \left (d x + c\right )\right )^{p} a\right )^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (\left (b \sin \left (d x + c\right )\right )^{p} a\right )^{n}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \left (b \sin{\left (c + d x \right )}\right )^{p}\right )^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (\left (b \sin \left (d x + c\right )\right )^{p} a\right )^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]